]> dgit.raspbian.org Git - gnome-shell.git/commit
ui/main: Allow not inhibiting animations sometimes
authorJonas Ådahl <jadahl@gmail.com>
Tue, 29 Nov 2022 15:33:34 +0000 (16:33 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Tue, 29 Nov 2022 16:52:56 +0000 (17:52 +0100)
commit33d3a65646d0333605d7f1c552ef080645203c00
tree05a3f1d069d025cdcdaf722a3b90a0288c6e535e
parent08d4addeef94f6729a6378c4f11fb88fdded9560
ui/main: Allow not inhibiting animations sometimes

When we're running in e.g. CI, or in a virtual machine without hardware
acceleration, and we actually want to enable animations despite the
potential performance implications, change the AnimationsSettings to
only inhibit if we're a XVNC instance or not hardware accelerated if
--force-animations wasn't passed.

Still inhibit animations if there is a remote desktop session that
explicitly disables animations.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2560>
js/ui/main.js